/**
 * 
 */
package json_objects_send;

/**
 * @author Alejandro Casas
 * @author Rodrigo Cifuentes
 */

public class JSON_Message 
{
	private String miniPicture_from;
	private String date;
	private String mail_from;
	private String name_from;
	private String message;
	private boolean read;
	private long id;
	
	
	public JSON_Message(String date, String mail_from, String message, boolean read, 
			long id,String name_from,String miniPicture_from)
	{
		this.miniPicture_from=miniPicture_from;
		this.date=date;
		this.mail_from=mail_from;
		this.message=message;
		this.read=read;
		this.id=id;
		this.name_from=name_from;
	}
	
	/**
	 * @return the miniPicture_from
	 */
	public String getMiniPicture_from() {
		return miniPicture_from;
	}

	/**
	 * @param miniPicture_from the miniPicture_from to set
	 */
	public void setMiniPicture_from(String miniPicture_from) {
		this.miniPicture_from = miniPicture_from;
	}

	/**
	 * @return the name_from
	 */
	public String getName_from() {
		return name_from;
	}

	/**
	 * @param name_from the name_from to set
	 */
	public void setName_from(String name_from) {
		this.name_from = name_from;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getMail_from() {
		return mail_from;
	}

	public void setMail_from(String mail_from) {
		this.mail_from = mail_from;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isRead() {
		return read;
	}

	public void setRead(boolean read) {
		this.read = read;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	
}
